package com.woniuxy.controller;

import com.woniuxy.entity.dto.CheckMoneyDTO;
import com.woniuxy.service.CheckMoneyService;
import com.woniuxy.util.PageParam;
import com.woniuxy.util.ResponseData;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("checkMoney")
public class CheckMoneyController {
    @Autowired
    private CheckMoneyService checkMoneyService;
    @RequestMapping("queryAll")
    public ResponseData<?> queryAll(@RequestBody  PageParam<CheckMoneyDTO> pageParam){
       return checkMoneyService.queryAll(pageParam);

    }
}
